package com.opg.uop.manage.system.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
/**
 * 用户管理Controller
 * @author zhouli
 * 2017年1月18日
 */
@Controller
@RequestMapping("/users")
public class UserController {
	private final Logger LOGGER = LoggerFactory.getLogger(getClass());
	
	
	@RequestMapping
	public ModelAndView toUsers(){
		return new ModelAndView("main");
	}
	
//	@RequestMapping("/listData")
//	@ResponseBody
//	public UOPRestApiResponse listData(@RequestParam("page") int page,@RequestParam("pageSize") int pageSize){
//		UOPRestApiResponse uar = new UOPRestApiResponse();
//		try {
////			userClient.getUserList(pageSize, page);
//		} catch (Exception e) {
//			LOGGER.error(e.getMessage());
//			throw new UOPRestApiException(e.getMessage());
//		}
//		return uar;
//	}
}
